<!DOCTYPE html>
<html>
<head>
    <title>$app.topic 城市客户数</title>
    #parse("/inc/meta.htm")
</head>
<body id="inner_page_start">

<div class="modal fade" id="loading" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" data-backdrop='static'>
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title" id="myModalLabel">提示</h4>
            </div>
            <div class="modal-body">
                请稍候。。。<span id="result"></span>
            </div>
        </div>
    </div>
</div>

#parse("/inc/header.htm")

<div id="wrapper">

    #parse("/inc/menu.htm")

    <div id="content-wrapper">

        <div class="container-fluid">

            <!-- 面包屑-->
            <ol class="breadcrumb">
                <li class="breadcrumb-item">
                    统计信息
                </li>
                <li class="breadcrumb-item active">城市客户数</li>
            </ol>

            <div class="card mb-3">
                <div class="card-body">
                    <form id="list_form" action="/count/cityBase" >
                        <div class="form-inline">
                            <div class="form-group mx-sm-3">
                                <label>省:
                                    <select name="pcode" aria-controls="dataTable"
                                            class="custom-select custom-select-sm form-control form-control-sm">
                                        #foreach($p in $!province )
                                        <option value="$p.code" #if($!pcode == $p.code ) selected #end >$p.name</option>
                                        #end
                                    </select>
                                </label>
                            </div>

                            <div class="form-group mx-sm-3">
                                <div class="dataTables_filter float-right">
                                    <button class="btn btn-primary" >查看</button>
                                </div>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-sm-12 table-outer-box">
                                <table class="table table-bordered dataTable" id="dataTable" width="100%" cellspacing="0" role="grid" aria-describedby="dataTable_info" style="width: 100%;">
                                    <thead>
                                    <tr role="row">
                                        <th style="width: 360px;">城市</th>
                                        <th>客户数量</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    #foreach($row in $!respData )
                                    <tr>
                                        <td>$!row.cityname</td>
                                        <td>$!row.num</td>
                                    </tr>
                                    #end
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </form>
                </div>
            </div>

        </div>
        <!-- /.container-fluid -->
        #parse("/inc/copyright.htm")
    </div>
    <!-- /.content-wrapper -->
</div>
#parse("/inc/footer.htm")
</body>
</html>